#1/bin/bash

# Program:
#     Repeat question until user input correct answer.
# History:
#     2015/08/25    wxb    First release

until [ "$yn" == "yes" -o "$yn" == "YES" ]
do
    read -p "Please input yes/YES to stop this program: " yn
done
echo "OK! you input the correct answer."
